package com.antler.smt.response.portal;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 *  获取收货地址列表
 *
 * @author zhangyi
 * @date 2018/3/27 16:42
 */
public class GetReceivingAddressListResp {
    /**
     * 主键id
     */
    @ApiModelProperty(value = "主键id", name = "id")
    private Long id;

    /**
     * 会员id
     */
    @ApiModelProperty(value = "会员id", name = "memberId")
    private Long memberId;

    /**
     * 国家id
     */
    @ApiModelProperty(value = "国家id", name = "countryId")
    private Integer countryId;

    /**
     * 国家名称
     */
    @ApiModelProperty(value = "国家名称", name = "countryName")
    private String countryName;

    /**
     * 省id
     */
    @ApiModelProperty(value = "省id", name = "provinceId")
    private Integer provinceId;


    /**
     * 省名称
     */
    @ApiModelProperty(value = "省名称", name = "provinceName")
    private String provinceName;

    /**
     * 城市id
     */
    @ApiModelProperty(value = "城市id", name = "cityId")
    private Integer cityId;

    /**
     * 城市名称
     */
    @ApiModelProperty(value = "城市名称", name = "cityName")
    private String cityName;

    /**
     * 详细地址
     */
    @ApiModelProperty(value = "详细地址", name = "detailaddress")
    private String detailaddress;

    /**
     * 收货人姓名
     */
    @ApiModelProperty(value = "收货人姓名", name = "name")
    private String name;

    /**
     * 邮编
     */
    @ApiModelProperty(value = "邮编", name = "postCode")
    private String postCode;

    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号", name = "mobile")
    private String mobile;

    /**
     * 电话
     */
    @ApiModelProperty(value = "电话", name = "telphone")
    private String telphone;

    /**
     * 是否默认
     */
    @ApiModelProperty(value = "是否默认", name = "isDefault")
    private Integer isDefault;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间", name = "createTime")
    private Date createTime;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间", name = "updateTime")
    private Date updateTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public Integer getCountryId() {
        return countryId;
    }

    public void setCountryId(Integer countryId) {
        this.countryId = countryId;
    }

    public String getCountryName() {
        return countryName;
    }

    public void setCountryName(String countryName) {
        this.countryName = countryName;
    }

    public Integer getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(Integer provinceId) {
        this.provinceId = provinceId;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public Integer getCityId() {
        return cityId;
    }

    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getDetailaddress() {
        return detailaddress;
    }

    public void setDetailaddress(String detailaddress) {
        this.detailaddress = detailaddress;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPostCode() {
        return postCode;
    }

    public void setPostCode(String postCode) {
        this.postCode = postCode;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getTelphone() {
        return telphone;
    }

    public void setTelphone(String telphone) {
        this.telphone = telphone;
    }

    public Integer getIsDefault() {
        return isDefault;
    }

    public void setIsDefault(Integer isDefault) {
        this.isDefault = isDefault;
    }

    @JsonFormat(timezone = "Hongkong", pattern = "yyyy-MM-dd HH:mm:ss")
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @JsonFormat(timezone = "Hongkong", pattern = "yyyy-MM-dd HH:mm:ss")
    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
